package com.bobochang.warehouse.mapper;

import com.bobochang.warehouse.dto.ConstructionDetailsDto;
import com.bobochang.warehouse.entity.ConstructionDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bobochang.warehouse.page.Page;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
* @author bobochang
* @description 针对表【construction_details(施工明细表)】的数据库操作Mapper
* @createDate 2024-06-25 10:29:22
* @Entity com.bobochang.warehouse.entity.ConstructionDetails
*/

@Mapper
public interface ConstructionDetailsMapper extends BaseMapper<ConstructionDetails> {

    // 查询施工明细总行数
    public int selectConstructionCount(@Param("constructionDetailsDto") ConstructionDetailsDto constructionDetailsDto);
    // 分页查询施工明细
    public List<ConstructionDetails> selectConstructionPage(Page page, ConstructionDetails constructionDetails);
}




